#!/bin/bash
echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config

ssh-keygen

NET=10.50.132
export SSHPASS='ZtzqVms@YzyV587!'

for IP in {11..12}
do 
    sshpass -e ssh-copy-id  $NET.$IP 
done


# ssh-keygen
# ssh-copy-id 10.50.132.56

